//
// Created by wze-zero on 2024/9/1 001.
//
#include <iostream>

using namespace std;

int main() {
    int year;
    cin >> year;
    (year % 4 == 0 && year % 100 != 0) || (year % 400 == 0) ? cout << "yes" << endl : cout << "no" << endl;
    return 0;
}